package com.crm.customers.model;

import java.util.List;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;


public class ContractMoneylog  extends BaseModel{
      
     
    /**
	 * 
	 */
	private static final long serialVersionUID = 3194542011015376320L;

	private Long cusid;//客户ID      
 
    private Long contractid;//合同ID         
 
    private Integer totalamount;//收/付款金额        
 
    private Integer usetype;//证书用途类型            
 
    private Integer transfertype;//转账类型       
 
    private Integer source;//来源         
 
    private Integer moneytype;//收/付款方式  
 
    private String name;//收/付款人        
 
    private String bankname;//银行名称
 
    private String cardnumber;//银行卡号码     
 
    private Integer type;//类型 0 付款  1 收款     
 
    private String arrivaltime;//收/付款预计时间  
 
    private Integer state;//付款状态 0待付款 1 已付款 
 
    private Integer approvalstatus;//审批状态
    
    private Integer paytype;//付款类型 0 预付款  1 全款
 
    private String remark;
    
    private CustomerInfo customerInfo;//企业/个人基本信息
    
    private Contract contractInfo;//合同详情
    
    private List<ApproveItemUser> approveUsers;//审批人列表
    
    private Integer contractsign;
    
    private String voucher; //收款凭证
    
    private Integer countsign; //计数标记
    
    
    

	public List<ApproveItemUser> getApproveUsers() {
		return approveUsers;
	}

	public void setApproveUsers(List<ApproveItemUser> approveUsers) {
		this.approveUsers = approveUsers;
	}

	public Contract getContractInfo() {
		return contractInfo;
	}

	public void setContractInfo(Contract contractInfo) {
		this.contractInfo = contractInfo;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

	public CustomerInfo getCustomerInfo() {
		return customerInfo;
	}

	public void setCustomerInfo(CustomerInfo customerInfo) {
		this.customerInfo = customerInfo;
	}

	public Integer getPaytype() {
		return paytype;
	}


	public void setPaytype(Integer paytype) {
		this.paytype = paytype;
	}


	public Long getCusid() {
		return cusid;
	}

	public void setCusid(Long cusid) {
		this.cusid = cusid;
	}

	public Long getContractid() {
		return contractid;
	}

	public void setContractid(Long contractid) {
		this.contractid = contractid;
	}

	public Integer getTotalamount() {
		return totalamount;
	}

	public void setTotalamount(Integer totalamount) {
		this.totalamount = totalamount;
	}

	public Integer getUsetype() {
		return usetype;
	}

	public void setUsetype(Integer usetype) {
		this.usetype = usetype;
	}

	public Integer getTransfertype() {
		return transfertype;
	}

	public void setTransfertype(Integer transfertype) {
		this.transfertype = transfertype;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public Integer getMoneytype() {
		return moneytype;
	}

	public void setMoneytype(Integer moneytype) {
		this.moneytype = moneytype;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBankname() {
		return bankname;
	}

	public void setBankname(String bankname) {
		this.bankname = bankname;
	}

	public String getCardnumber() {
		return cardnumber;
	}

	public void setCardnumber(String cardnumber) {
		this.cardnumber = cardnumber;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getArrivaltime() {
		return arrivaltime;
	}

	public void setArrivaltime(String arrivaltime) {
		this.arrivaltime = arrivaltime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getApprovalstatus() {
		return approvalstatus;
	}

	public void setApprovalstatus(Integer approvalstatus) {
		this.approvalstatus = approvalstatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getContractsign() {
		return contractsign;
	}

	public void setContractsign(Integer contractsign) {
		this.contractsign = contractsign;
	}

	public String getVoucher() {
		return voucher;
	}

	public void setVoucher(String voucher) {
		this.voucher = voucher;
	}

	public Integer getCountsign() {
		return countsign;
	}

	public void setCountsign(Integer countsign) {
		this.countsign = countsign;
	}
 
}